package cn.gxa.j229.bug.finance.mapper;

import cn.gxa.j229.bug.finance.pojo.UserMoney;

import java.util.List;
import java.util.Map;

public interface UserMoneyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserMoney record);

    int insertSelective(UserMoney record);

    UserMoney selectByPrimaryKey(UserMoney userMoney);
    List<Map<String,String>> selectAll(UserMoney userMoney);
    List<Map<String,String>> selectPhoneAndName(UserMoney userMoney);

    List<Map<String,String>> selectInvestmentuser(UserMoney userMoney);
    List<Map<String,String>> selectInvestmentuserPhoneAndName(UserMoney userMoney);


    int selectLoanuserCount(UserMoney userMoney);
    int selectLoanuserPhoneAndNameCount(UserMoney userMoney);


    int  selectAllCount(UserMoney userMoney);
    int  selectPhoneAndNameCount(UserMoney userMoney);

    int selectInvestmentuserCount(UserMoney userMoney);
    int selectInvestmentuserPhoneAndNameCount(UserMoney userMoney);


    List<Map<String,String>> selectLoanuser(UserMoney userMoney);
    List<Map<String,String>> selectLoanuserPhoneAndName(UserMoney userMoney);

    int updateByPrimaryKeySelective(UserMoney record);

    int updateByPrimaryKey(UserMoney record);
}